Skip to content

pi-hole / bookworm / st7789 changes#3049

Merged
mikeysklar merged 7 commits into
mainfrom
pi-hole-stats
Jun 4, 2025
Merged

pi-hole / bookworm / st7789 changes#3049
mikeysklar merged 7 commits into
mainfrom
pi-hole-stats

Conversation

@mikeysklar
Copy link
Copy Markdown
Collaborator

@mikeysklar mikeysklar commented Jun 2, 2025

A lot has changed since this guide was released.

Pi Hole 6.x had a major update around March 2025 which dramatically changed the API.

This code was tested and work with a MiniPiTFt on a Pi 4. I'd like to update the guide to support accommodate the software updates.

+-------------------------------------------------------+
|                   Summary of Changes                  |
+-------------------------------------------------------+
| Updated API endpoint to /api/stats/summary            |
| Modified ST7789 constructor signature                  |
| Adjusted PIL buffer size to 240×135                    |
| Removed extra rotation argument in disp.image call     |
| Changed JSON keys to data["queries"]["…"] and ["clients"] |
| Expanded exception handling for network/JSON errors     |
+-------------------------------------------------------+

A lot has changed since this guide was release.

The Pi Hole 6.x release in early 2025 dramatically changed the API.

Bookworm changes how some of the pins are used.

Even the ST7789 MiniPiTFT chip has some different options.

This code was tested and work with a MiniPiTFt on a Pi 4. I'd like to update the guide to support accommidate the software updates.
@TheKitty
Copy link
Copy Markdown
Collaborator

TheKitty commented Jun 2, 2025

Please be sure all source files have the correct SPDX identifiers https://learn.adafruit.com/submitting-arduino-code-to-the-adafruit-learning-system

confirmed Pi OLED (SSD1306 I2C) works with new Pi Hole 6.x release code.
@mikeysklar mikeysklar merged commit 07967a2 into main Jun 4, 2025
8 checks passed
@dhalbert dhalbert deleted the pi-hole-stats branch November 25, 2025 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants